package com.qfjy.homework.guozijian;

import java.util.Date;

/**
 * @author: gzj
 * @date: 2022/11/10  19:19
 * @version: 1.0
 **/
public class ChatRoom {
    public static void showMessage(User user, String message){

        System.out.println(new Date().toString() + "[" + user.getName() + "]" + ":" + message);
    }
}
